﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Share/MainMenu.Master" AutoEventWireup="true" CodeBehind="fGroupMaterial2.aspx.cs" Inherits="MixScriptWeb.Jideco.gjips.fGroupMaterial2" EnableEventValidation="false"%>
<%@ Register Src="~/control/MixScriptTB.ascx" TagName="baseTextBox" TagPrefix="mix" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div style="padding-left: 10px;">
        <h2 class="jquery_tab">
            Group  Of Material</h2>
        <br />
        <table style="width: 100%;" class="table-ui">
            <tr>
                <td style="width: 268px;">
                    &nbsp;<b>Part No.</b></td>
                <td style="width: 5px;">
                    :
                </td>
                <td style="width: 1273px;">
                    <mix:baseTextBox ID="txtPartno" runat="server" AllowNull=True showFind=True tooltip="This Field Cannot be empty"
                        isvalid="True" ReadOnly="True" tWidht="200" />
                </td>
            </tr>
            <tr>
                <td class="xl68" height="16">
                    Main Supply Place Type</td>
                   <td style="width: 5px;">
                    :
                </td>
                <td style="width: 1273px;">
                    <asp:DropDownList ID="ddlPDLC" runat="server">
                        <asp:ListItem Value="">--ALL--</asp:ListItem>
                        <asp:ListItem Value="0">None</asp:ListItem>
                        <asp:ListItem Value="S">Module/Warehouse</asp:ListItem>                        
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td style="width: 268px;">
                    Main Supply Place Code</td>
                <td style="width: 5px;">
                    :</td>
                <td style="width: 1273px;">
                    <mix:baseTextBox ID="txtLOC" runat="server" AllowNull=True showFind=False tooltip="This Field Cannot be empty"
                        isvalid="True" ReadOnly="True" tWidht="200" />
                </td>
            </tr>
            <tr>
                <td style="width: 268px;">
                    Warehouse Type</td>
                <td style="width: 5px;">
                    :</td>
                <td style="width: 1273px;">
                    <asp:DropDownList ID="ddlSCCode" runat="server">
                        <asp:ListItem Value="">--ALL--</asp:ListItem>
                        <asp:ListItem Value="0">None</asp:ListItem>
                        <asp:ListItem Value="S">Module/Warehouse</asp:ListItem>                        
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td style="width: 268px;">
                    Warehouse Code</td>
                <td style="width: 5px;">
                    :</td>
                <td style="width: 1273px;">
                    <mix:baseTextBox ID="txtwrhid" runat="server" AllowNull=True showFind=True tooltip="This Field Cannot be empty"
                        isvalid="True" ReadOnly="True" tWidht="200" />
                </td>
            </tr>
            </table>
        <br />
        <table style="width: 600px" class="table-ui">
            <tr>
                <td style="height: 26px; width: 114px;">
                    <asp:Button ID="btnFind" runat="server" Text="Find" CssClass="button" Width="101px"
                        OnClick="btnFind_Click" />
                    &nbsp;
                </td>
                <td style="height: 26px">
                    &nbsp;</td>
                <td style="height: 26px">
                    <asp:Button ID="btnClear" runat="server" Text="Clear" CssClass="button" Width="101px"
                        OnClick="btnClear_Click" />
                </td>
                <td style="height: 26px">
                    &nbsp;</td>
                <td style="height: 26px">
                    &nbsp;</td>
                <td style="height: 26px">
                    &nbsp;</td>
                <td style="height: 26px">
                </td>
                <td style="height: 26px">
                    &nbsp;</td>
                <td style="height: 26px; width: 4px;">
                    &nbsp;
                </td>
                <td style="height: 26px">
                    &nbsp;
                </td>
            </tr>
        </table>
        <%-- </ContentTemplate>
           </asp:UpdatePanel>--%>
           <br />
             <asp:Panel ID="Panel1" runat="server" ScrollBars="Auto">
            <asp:GridView ID="gvdetail" runat="server" Width="100%" AllowPaging="True" CssClass="gridview"
                AllowSorting="True" OnPageIndexChanging="gvdetail_PageIndexChanging" OnSorting="gvdetail_Sorting"
                OnRowDataBound="gvdetail_RowDataBound"
                AutoGenerateColumns="False" 
                     onselectedindexchanged="gvdetail_SelectedIndexChanged">
                <AlternatingRowStyle CssClass="alt" />
                <EditRowStyle BorderColor="Silver" BorderStyle="Solid" />
                <FooterStyle CssClass="ft" />
                <PagerStyle BorderStyle="None" BorderWidth="0px" HorizontalAlign="Center" />
            </asp:GridView>
            </asp:Panel>
            <br />
            
            <br />
        <%-- </ContentTemplate>
           </asp:UpdatePanel>--%>
        <br />
        <asp:Label ID="Label1" runat="server" Font-Bold="True" Font-Size="14px" 
            Text="Material"></asp:Label>
            
        <br />
        <br />
        <table style="width: 100%;" class="table-ui">
            <tr>
                <td style="width: 178px; font-weight: 700;">
                    &nbsp;Search</td>
                <td style="width: 5px;">
                    :
                </td>
                <td style="width: 1273px;">
                    <asp:TextBox ID="txtsrc"  CssClass="input-medium" runat="server"></asp:TextBox>
                    &nbsp;
                    <asp:Button ID="btnFindMat" runat="server" CssClass="button" Text="Find" 
                        Width="99px" onclick="btnFindMat_Click" />
                </td>
            </tr>
            </table>
        <br />
           <br />
             <asp:Panel ID="Panel2" runat="server" ScrollBars="Auto">
            <asp:GridView ID="gvMat" runat="server" Width="100%" AllowPaging="True" CssClass="gridview"
                AllowSorting="True" OnPageIndexChanging="gvMat_PageIndexChanging" OnSorting="gvMat_Sorting"
                AutoGenerateColumns="False">
                <AlternatingRowStyle CssClass="alt" />
                <EditRowStyle BorderColor="Silver" BorderStyle="Solid" />
                <FooterStyle CssClass="ft" />
                <PagerStyle BorderStyle="None" BorderWidth="0px" HorizontalAlign="Center" />
            </asp:GridView>
            </asp:Panel>
            <br />
        <div id="pnldetail">
        </div>
        <br />
        <br />
        <%-- </ContentTemplate>
           </asp:UpdatePanel>--%>
        <script type="text/javascript">

            //ContentPlaceHolder1_txtBankCode_txt
            document.getElementById("ContentPlaceHolder1_txtCode_txt").removeAttribute("readonly");
            //document.getElementById("ctl00$ContentPlaceHolder1$txtBankCode$txt").removeAttribute("readonly");

        </script>
    </div>
</asp:Content>
